﻿* Encoding: UTF-8.

DATASET ACTIVATE DataSet3.
USE ALL.


*exclude the four students that left the classroom before the study was set up and therefore did not have the chance to comply or non-comply.

COMPUTE filter_$=(Keep = 1).
VARIABLE LABELS filter_$ 'Keep = 1 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.



* Generalized Linear Models.
GENLIN Compliance BY SourceOfRobotAdvice SocialCues (ORDER=ASCENDING)
  /MODEL SourceOfRobotAdvice SocialCues SourceOfRobotAdvice*SocialCues INTERCEPT=YES
 DISTRIBUTION=NORMAL LINK=IDENTITY
  /CRITERIA SCALE=MLE COVB=MODEL PCONVERGE=1E-006(ABSOLUTE) SINGULAR=1E-012 ANALYSISTYPE=3(WALD) 
    CILEVEL=95 CITYPE=WALD LIKELIHOOD=FULL
  /EMMEANS TABLES=SourceOfRobotAdvice SCALE=ORIGINAL COMPARE=SourceOfRobotAdvice CONTRAST=PAIRWISE 
    PADJUST=LSD
  /EMMEANS TABLES=SocialCues SCALE=ORIGINAL COMPARE=SocialCues CONTRAST=PAIRWISE PADJUST=LSD
  /EMMEANS TABLES=SourceOfRobotAdvice*SocialCues SCALE=ORIGINAL 
    COMPARE=SourceOfRobotAdvice*SocialCues CONTRAST=PAIRWISE PADJUST=LSD
  /MISSING CLASSMISSING=EXCLUDE
  /PRINT CPS DESCRIPTIVES MODELINFO FIT SUMMARY SOLUTION.
